<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<h1>Hello,Vue  js!!</h1>
			<h1 v-if='yes'>Yes!</h1>
			<h1 v-if='no'>No!</h1>
			<h1 v-if='age >=25'>Age:{{age}}</h1>
			<h1 v-if='name.indexOf("jack") >=0'>Name:{{name}}</h1>
		</div>
		<script type="text/javascript">
			var vm=new Vue({
				el:'#app',
				data:{
					yes:true,
					no:false,
					age:28,
					name:'abcdefg'
				}
			})
		</script>
	</body>
</html>
